<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibDriver DS18B20: example/driver_ds18b20_match.c Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="doxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibDriver DS18B20
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">DS18B20 full function driver</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('driver__ds18b20__match_8c_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">driver_ds18b20_match.c</div>  </div>
</div><!--header-->
<div class="contents">
<a href="driver__ds18b20__match_8c.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="driver__ds18b20__match_8h.html">driver_ds18b20_match.h</a>&quot;</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keyword">static</span> <a class="code" href="structds18b20__handle__s.html">ds18b20_handle_t</a> gs_handle;        </div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="group__ds18b20__example__driver.html#gaa68264a8f7943f9b86191a6c5d9303ee">   49</a></span>&#160;uint8_t <a class="code" href="group__ds18b20__example__driver.html#gaa68264a8f7943f9b86191a6c5d9303ee">ds18b20_match_init</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;{</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    uint8_t res;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    </div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <span class="comment">/* link interface function */</span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <a class="code" href="group__ds18b20__link__driver.html#gaeb6d8c99dd1508afac2d506e0fbba748">DRIVER_DS18B20_LINK_INIT</a>(&amp;gs_handle, <a class="code" href="structds18b20__handle__s.html">ds18b20_handle_t</a>);</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <a class="code" href="group__ds18b20__link__driver.html#ga995e0ba6342a4fdd07464acfd3ded21b">DRIVER_DS18B20_LINK_BUS_INIT</a>(&amp;gs_handle, <a class="code" href="group__ds18b20__interface__driver.html#gaae02ff3e162c03d6d44c502aa2c7c287">ds18b20_interface_init</a>);</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <a class="code" href="group__ds18b20__link__driver.html#gada03625a3e86545827079d7025dce366">DRIVER_DS18B20_LINK_BUS_DEINIT</a>(&amp;gs_handle, <a class="code" href="group__ds18b20__interface__driver.html#ga03a7158f8be182347f2263bb61efb869">ds18b20_interface_deinit</a>);</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <a class="code" href="group__ds18b20__link__driver.html#gab9c69affb4d2f518a8dd716a4ae0e582">DRIVER_DS18B20_LINK_BUS_READ</a>(&amp;gs_handle, <a class="code" href="group__ds18b20__interface__driver.html#gab0b723752250505718028cea3bfe2e33">ds18b20_interface_read</a>);</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <a class="code" href="group__ds18b20__link__driver.html#ga68d0440d16dd362e2f89bf3c6945d3cd">DRIVER_DS18B20_LINK_BUS_WRITE</a>(&amp;gs_handle, <a class="code" href="group__ds18b20__interface__driver.html#ga58ec641650609db605a648fc4d9709f0">ds18b20_interface_write</a>);</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <a class="code" href="group__ds18b20__link__driver.html#gada3646f54931552e58b3955042b3f3a1">DRIVER_DS18B20_LINK_DELAY_MS</a>(&amp;gs_handle, <a class="code" href="group__ds18b20__interface__driver.html#ga0fc93e0908a80f48e859cf1aeb8d3136">ds18b20_interface_delay_ms</a>);</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <a class="code" href="group__ds18b20__link__driver.html#gad39c2a4f7dba94bfa1c5c60dd9879c4b">DRIVER_DS18B20_LINK_DELAY_US</a>(&amp;gs_handle, <a class="code" href="group__ds18b20__interface__driver.html#gaffa80ae3f3b868b8acec66e67cd6533b">ds18b20_interface_delay_us</a>);</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <a class="code" href="group__ds18b20__link__driver.html#ga05c7f541eb13b7fc53e17e88c4dec347">DRIVER_DS18B20_LINK_ENABLE_IRQ</a>(&amp;gs_handle, <a class="code" href="group__ds18b20__interface__driver.html#gaf6df67e763bd6dc9cd1f9b3f81a4ba77">ds18b20_interface_enable_irq</a>);</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <a class="code" href="group__ds18b20__link__driver.html#ga02ffa673971e5a9c312a49db319a1a60">DRIVER_DS18B20_LINK_DISABLE_IRQ</a>(&amp;gs_handle, <a class="code" href="group__ds18b20__interface__driver.html#gae2c7e5e56d2c7c9cbe0708c33b0fa08e">ds18b20_interface_disable_irq</a>);</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    <a class="code" href="group__ds18b20__link__driver.html#ga69860fef169e92a4e642304244c878be">DRIVER_DS18B20_LINK_DEBUG_PRINT</a>(&amp;gs_handle, <a class="code" href="group__ds18b20__interface__driver.html#gabb823545b537ecf6e62e279baaac6dc4">ds18b20_interface_debug_print</a>);</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    </div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="comment">/* ds18b20 init */</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    res = <a class="code" href="group__ds18b20__base__driver.html#ga42a0bced6314bc11b3c47f1d83bbff9a">ds18b20_init</a>(&amp;gs_handle);</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="keywordflow">if</span> (res != 0)</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    {</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;        <a class="code" href="group__ds18b20__interface__driver.html#gabb823545b537ecf6e62e279baaac6dc4">ds18b20_interface_debug_print</a>(<span class="stringliteral">&quot;ds18b20: init failed.\n&quot;</span>);</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        </div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    }</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    </div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <span class="comment">/* set match rom mode */</span></div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    res = <a class="code" href="group__ds18b20__base__driver.html#gadd246c4e8a5887a1acd710dee214323c">ds18b20_set_mode</a>(&amp;gs_handle, <a class="code" href="group__ds18b20__base__driver.html#ggaa76e51e2201d4058f4274ca420c165f6a6fefdf17cbb1204ac17187e4c6c96eeb">DS18B20_MODE_MATCH_ROM</a>);</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keywordflow">if</span> (res != 0)</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    {</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;        <a class="code" href="group__ds18b20__interface__driver.html#gabb823545b537ecf6e62e279baaac6dc4">ds18b20_interface_debug_print</a>(<span class="stringliteral">&quot;ds18b20: set mode failed.\n&quot;</span>);</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        (void)<a class="code" href="group__ds18b20__base__driver.html#gaa7b94675deaafbe00917e7e232278c77">ds18b20_deinit</a>(&amp;gs_handle);</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;        </div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    }</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    </div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;}</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160; </div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="group__ds18b20__example__driver.html#ga11b62a141baad231f23aa555e80761ea">   96</a></span>&#160;uint8_t <a class="code" href="group__ds18b20__example__driver.html#ga11b62a141baad231f23aa555e80761ea">ds18b20_match_read</a>(uint8_t rom[8], <span class="keywordtype">float</span> *temperature)</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;{</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    uint8_t res;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    int16_t raw;</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    </div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <span class="comment">/* set rom */</span></div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    res = <a class="code" href="group__ds18b20__base__driver.html#ga4cf8a45542f1dfdca17347c0870f870f">ds18b20_set_rom</a>(&amp;gs_handle, (uint8_t *)rom);</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    <span class="keywordflow">if</span> (res != 0)</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    {</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    }</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    </div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    <span class="comment">/* read temperature */</span></div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__ds18b20__base__driver.html#ga7b55e1d3f3ba9ca53c3a78c1d8d221b4">ds18b20_read</a>(&amp;gs_handle, (int16_t *)&amp;raw, temperature) != 0)</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    {</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    }</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    {</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    }</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;}</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160; </div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="group__ds18b20__example__driver.html#ga6bafc384b9f254b9f236dbdd522237b9">  126</a></span>&#160;uint8_t <a class="code" href="group__ds18b20__example__driver.html#ga6bafc384b9f254b9f236dbdd522237b9">ds18b20_match_deinit</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;{</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    <span class="comment">/* ds18b20 close */</span></div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__ds18b20__base__driver.html#gaa7b94675deaafbe00917e7e232278c77">ds18b20_deinit</a>(&amp;gs_handle) != 0)</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    {</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    }</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    {</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    }</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;}</div>
<div class="ttc" id="adriver__ds18b20__match_8h_html"><div class="ttname"><a href="driver__ds18b20__match_8h.html">driver_ds18b20_match.h</a></div><div class="ttdoc">driver ds18b20 match header file</div></div>
<div class="ttc" id="agroup__ds18b20__base__driver_html_ga42a0bced6314bc11b3c47f1d83bbff9a"><div class="ttname"><a href="group__ds18b20__base__driver.html#ga42a0bced6314bc11b3c47f1d83bbff9a">ds18b20_init</a></div><div class="ttdeci">uint8_t ds18b20_init(ds18b20_handle_t *handle)</div><div class="ttdoc">initialize the chip</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20_8c_source.html#l01305">driver_ds18b20.c:1305</a></div></div>
<div class="ttc" id="agroup__ds18b20__base__driver_html_ga4cf8a45542f1dfdca17347c0870f870f"><div class="ttname"><a href="group__ds18b20__base__driver.html#ga4cf8a45542f1dfdca17347c0870f870f">ds18b20_set_rom</a></div><div class="ttdeci">uint8_t ds18b20_set_rom(ds18b20_handle_t *handle, uint8_t rom[8])</div><div class="ttdoc">set the handle rom</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20_8c_source.html#l00394">driver_ds18b20.c:394</a></div></div>
<div class="ttc" id="agroup__ds18b20__base__driver_html_ga7b55e1d3f3ba9ca53c3a78c1d8d221b4"><div class="ttname"><a href="group__ds18b20__base__driver.html#ga7b55e1d3f3ba9ca53c3a78c1d8d221b4">ds18b20_read</a></div><div class="ttdeci">uint8_t ds18b20_read(ds18b20_handle_t *handle, int16_t *raw, float *temp)</div><div class="ttdoc">read data from the chip</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20_8c_source.html#l01426">driver_ds18b20.c:1426</a></div></div>
<div class="ttc" id="agroup__ds18b20__base__driver_html_gaa7b94675deaafbe00917e7e232278c77"><div class="ttname"><a href="group__ds18b20__base__driver.html#gaa7b94675deaafbe00917e7e232278c77">ds18b20_deinit</a></div><div class="ttdeci">uint8_t ds18b20_deinit(ds18b20_handle_t *handle)</div><div class="ttdoc">close the chip</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20_8c_source.html#l01392">driver_ds18b20.c:1392</a></div></div>
<div class="ttc" id="agroup__ds18b20__base__driver_html_gadd246c4e8a5887a1acd710dee214323c"><div class="ttname"><a href="group__ds18b20__base__driver.html#gadd246c4e8a5887a1acd710dee214323c">ds18b20_set_mode</a></div><div class="ttdeci">uint8_t ds18b20_set_mode(ds18b20_handle_t *handle, ds18b20_mode_t mode)</div><div class="ttdoc">set the chip mode</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20_8c_source.html#l00342">driver_ds18b20.c:342</a></div></div>
<div class="ttc" id="agroup__ds18b20__base__driver_html_ggaa76e51e2201d4058f4274ca420c165f6a6fefdf17cbb1204ac17187e4c6c96eeb"><div class="ttname"><a href="group__ds18b20__base__driver.html#ggaa76e51e2201d4058f4274ca420c165f6a6fefdf17cbb1204ac17187e4c6c96eeb">DS18B20_MODE_MATCH_ROM</a></div><div class="ttdeci">@ DS18B20_MODE_MATCH_ROM</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20_8h_source.html#l00082">driver_ds18b20.h:82</a></div></div>
<div class="ttc" id="agroup__ds18b20__example__driver_html_ga11b62a141baad231f23aa555e80761ea"><div class="ttname"><a href="group__ds18b20__example__driver.html#ga11b62a141baad231f23aa555e80761ea">ds18b20_match_read</a></div><div class="ttdeci">uint8_t ds18b20_match_read(uint8_t rom[8], float *temperature)</div><div class="ttdoc">match example read</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__match_8c_source.html#l00096">driver_ds18b20_match.c:96</a></div></div>
<div class="ttc" id="agroup__ds18b20__example__driver_html_ga6bafc384b9f254b9f236dbdd522237b9"><div class="ttname"><a href="group__ds18b20__example__driver.html#ga6bafc384b9f254b9f236dbdd522237b9">ds18b20_match_deinit</a></div><div class="ttdeci">uint8_t ds18b20_match_deinit(void)</div><div class="ttdoc">match example deinit</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__match_8c_source.html#l00126">driver_ds18b20_match.c:126</a></div></div>
<div class="ttc" id="agroup__ds18b20__example__driver_html_gaa68264a8f7943f9b86191a6c5d9303ee"><div class="ttname"><a href="group__ds18b20__example__driver.html#gaa68264a8f7943f9b86191a6c5d9303ee">ds18b20_match_init</a></div><div class="ttdeci">uint8_t ds18b20_match_init(void)</div><div class="ttdoc">match example init</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__match_8c_source.html#l00049">driver_ds18b20_match.c:49</a></div></div>
<div class="ttc" id="agroup__ds18b20__interface__driver_html_ga03a7158f8be182347f2263bb61efb869"><div class="ttname"><a href="group__ds18b20__interface__driver.html#ga03a7158f8be182347f2263bb61efb869">ds18b20_interface_deinit</a></div><div class="ttdeci">uint8_t ds18b20_interface_deinit(void)</div><div class="ttdoc">interface bus deinit</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__interface__template_8c_source.html#l00059">driver_ds18b20_interface_template.c:59</a></div></div>
<div class="ttc" id="agroup__ds18b20__interface__driver_html_ga0fc93e0908a80f48e859cf1aeb8d3136"><div class="ttname"><a href="group__ds18b20__interface__driver.html#ga0fc93e0908a80f48e859cf1aeb8d3136">ds18b20_interface_delay_ms</a></div><div class="ttdeci">void ds18b20_interface_delay_ms(uint32_t ms)</div><div class="ttdoc">interface delay ms</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__interface__template_8c_source.html#l00095">driver_ds18b20_interface_template.c:95</a></div></div>
<div class="ttc" id="agroup__ds18b20__interface__driver_html_ga58ec641650609db605a648fc4d9709f0"><div class="ttname"><a href="group__ds18b20__interface__driver.html#ga58ec641650609db605a648fc4d9709f0">ds18b20_interface_write</a></div><div class="ttdeci">uint8_t ds18b20_interface_write(uint8_t value)</div><div class="ttdoc">interface bus write</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__interface__template_8c_source.html#l00085">driver_ds18b20_interface_template.c:85</a></div></div>
<div class="ttc" id="agroup__ds18b20__interface__driver_html_gaae02ff3e162c03d6d44c502aa2c7c287"><div class="ttname"><a href="group__ds18b20__interface__driver.html#gaae02ff3e162c03d6d44c502aa2c7c287">ds18b20_interface_init</a></div><div class="ttdeci">uint8_t ds18b20_interface_init(void)</div><div class="ttdoc">interface bus init</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__interface__template_8c_source.html#l00047">driver_ds18b20_interface_template.c:47</a></div></div>
<div class="ttc" id="agroup__ds18b20__interface__driver_html_gab0b723752250505718028cea3bfe2e33"><div class="ttname"><a href="group__ds18b20__interface__driver.html#gab0b723752250505718028cea3bfe2e33">ds18b20_interface_read</a></div><div class="ttdeci">uint8_t ds18b20_interface_read(uint8_t *value)</div><div class="ttdoc">interface bus read</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__interface__template_8c_source.html#l00072">driver_ds18b20_interface_template.c:72</a></div></div>
<div class="ttc" id="agroup__ds18b20__interface__driver_html_gabb823545b537ecf6e62e279baaac6dc4"><div class="ttname"><a href="group__ds18b20__interface__driver.html#gabb823545b537ecf6e62e279baaac6dc4">ds18b20_interface_debug_print</a></div><div class="ttdeci">void ds18b20_interface_debug_print(const char *const fmt,...)</div><div class="ttdoc">interface print format data</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__interface__template_8c_source.html#l00133">driver_ds18b20_interface_template.c:133</a></div></div>
<div class="ttc" id="agroup__ds18b20__interface__driver_html_gae2c7e5e56d2c7c9cbe0708c33b0fa08e"><div class="ttname"><a href="group__ds18b20__interface__driver.html#gae2c7e5e56d2c7c9cbe0708c33b0fa08e">ds18b20_interface_disable_irq</a></div><div class="ttdeci">void ds18b20_interface_disable_irq(void)</div><div class="ttdoc">interface disable the interrupt</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__interface__template_8c_source.html#l00123">driver_ds18b20_interface_template.c:123</a></div></div>
<div class="ttc" id="agroup__ds18b20__interface__driver_html_gaf6df67e763bd6dc9cd1f9b3f81a4ba77"><div class="ttname"><a href="group__ds18b20__interface__driver.html#gaf6df67e763bd6dc9cd1f9b3f81a4ba77">ds18b20_interface_enable_irq</a></div><div class="ttdeci">void ds18b20_interface_enable_irq(void)</div><div class="ttdoc">interface enable the interrupt</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__interface__template_8c_source.html#l00114">driver_ds18b20_interface_template.c:114</a></div></div>
<div class="ttc" id="agroup__ds18b20__interface__driver_html_gaffa80ae3f3b868b8acec66e67cd6533b"><div class="ttname"><a href="group__ds18b20__interface__driver.html#gaffa80ae3f3b868b8acec66e67cd6533b">ds18b20_interface_delay_us</a></div><div class="ttdeci">void ds18b20_interface_delay_us(uint32_t us)</div><div class="ttdoc">interface delay us</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__interface__template_8c_source.html#l00105">driver_ds18b20_interface_template.c:105</a></div></div>
<div class="ttc" id="agroup__ds18b20__link__driver_html_ga02ffa673971e5a9c312a49db319a1a60"><div class="ttname"><a href="group__ds18b20__link__driver.html#ga02ffa673971e5a9c312a49db319a1a60">DRIVER_DS18B20_LINK_DISABLE_IRQ</a></div><div class="ttdeci">#define DRIVER_DS18B20_LINK_DISABLE_IRQ(HANDLE, FUC)</div><div class="ttdoc">link disable_irq function</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20_8h_source.html#l00221">driver_ds18b20.h:221</a></div></div>
<div class="ttc" id="agroup__ds18b20__link__driver_html_ga05c7f541eb13b7fc53e17e88c4dec347"><div class="ttname"><a href="group__ds18b20__link__driver.html#ga05c7f541eb13b7fc53e17e88c4dec347">DRIVER_DS18B20_LINK_ENABLE_IRQ</a></div><div class="ttdeci">#define DRIVER_DS18B20_LINK_ENABLE_IRQ(HANDLE, FUC)</div><div class="ttdoc">link enable_irq function</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20_8h_source.html#l00213">driver_ds18b20.h:213</a></div></div>
<div class="ttc" id="agroup__ds18b20__link__driver_html_ga68d0440d16dd362e2f89bf3c6945d3cd"><div class="ttname"><a href="group__ds18b20__link__driver.html#ga68d0440d16dd362e2f89bf3c6945d3cd">DRIVER_DS18B20_LINK_BUS_WRITE</a></div><div class="ttdeci">#define DRIVER_DS18B20_LINK_BUS_WRITE(HANDLE, FUC)</div><div class="ttdoc">link bus_write function</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20_8h_source.html#l00189">driver_ds18b20.h:189</a></div></div>
<div class="ttc" id="agroup__ds18b20__link__driver_html_ga69860fef169e92a4e642304244c878be"><div class="ttname"><a href="group__ds18b20__link__driver.html#ga69860fef169e92a4e642304244c878be">DRIVER_DS18B20_LINK_DEBUG_PRINT</a></div><div class="ttdeci">#define DRIVER_DS18B20_LINK_DEBUG_PRINT(HANDLE, FUC)</div><div class="ttdoc">link debug_print function</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20_8h_source.html#l00229">driver_ds18b20.h:229</a></div></div>
<div class="ttc" id="agroup__ds18b20__link__driver_html_ga995e0ba6342a4fdd07464acfd3ded21b"><div class="ttname"><a href="group__ds18b20__link__driver.html#ga995e0ba6342a4fdd07464acfd3ded21b">DRIVER_DS18B20_LINK_BUS_INIT</a></div><div class="ttdeci">#define DRIVER_DS18B20_LINK_BUS_INIT(HANDLE, FUC)</div><div class="ttdoc">link bus_init function</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20_8h_source.html#l00165">driver_ds18b20.h:165</a></div></div>
<div class="ttc" id="agroup__ds18b20__link__driver_html_gab9c69affb4d2f518a8dd716a4ae0e582"><div class="ttname"><a href="group__ds18b20__link__driver.html#gab9c69affb4d2f518a8dd716a4ae0e582">DRIVER_DS18B20_LINK_BUS_READ</a></div><div class="ttdeci">#define DRIVER_DS18B20_LINK_BUS_READ(HANDLE, FUC)</div><div class="ttdoc">link bus_read function</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20_8h_source.html#l00181">driver_ds18b20.h:181</a></div></div>
<div class="ttc" id="agroup__ds18b20__link__driver_html_gad39c2a4f7dba94bfa1c5c60dd9879c4b"><div class="ttname"><a href="group__ds18b20__link__driver.html#gad39c2a4f7dba94bfa1c5c60dd9879c4b">DRIVER_DS18B20_LINK_DELAY_US</a></div><div class="ttdeci">#define DRIVER_DS18B20_LINK_DELAY_US(HANDLE, FUC)</div><div class="ttdoc">link delay_us function</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20_8h_source.html#l00205">driver_ds18b20.h:205</a></div></div>
<div class="ttc" id="agroup__ds18b20__link__driver_html_gada03625a3e86545827079d7025dce366"><div class="ttname"><a href="group__ds18b20__link__driver.html#gada03625a3e86545827079d7025dce366">DRIVER_DS18B20_LINK_BUS_DEINIT</a></div><div class="ttdeci">#define DRIVER_DS18B20_LINK_BUS_DEINIT(HANDLE, FUC)</div><div class="ttdoc">link bus_deinit function</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20_8h_source.html#l00173">driver_ds18b20.h:173</a></div></div>
<div class="ttc" id="agroup__ds18b20__link__driver_html_gada3646f54931552e58b3955042b3f3a1"><div class="ttname"><a href="group__ds18b20__link__driver.html#gada3646f54931552e58b3955042b3f3a1">DRIVER_DS18B20_LINK_DELAY_MS</a></div><div class="ttdeci">#define DRIVER_DS18B20_LINK_DELAY_MS(HANDLE, FUC)</div><div class="ttdoc">link delay_ms function</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20_8h_source.html#l00197">driver_ds18b20.h:197</a></div></div>
<div class="ttc" id="agroup__ds18b20__link__driver_html_gaeb6d8c99dd1508afac2d506e0fbba748"><div class="ttname"><a href="group__ds18b20__link__driver.html#gaeb6d8c99dd1508afac2d506e0fbba748">DRIVER_DS18B20_LINK_INIT</a></div><div class="ttdeci">#define DRIVER_DS18B20_LINK_INIT(HANDLE, STRUCTURE)</div><div class="ttdoc">initialize ds18b20_handle_t structure</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20_8h_source.html#l00157">driver_ds18b20.h:157</a></div></div>
<div class="ttc" id="astructds18b20__handle__s_html"><div class="ttname"><a href="structds18b20__handle__s.html">ds18b20_handle_s</a></div><div class="ttdoc">ds18b20 handle structure definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20_8h_source.html#l00108">driver_ds18b20.h:109</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_cfafba98a580ce4b62f8a6fa96d7cbb0.html">example</a></li><li class="navelem"><a class="el" href="driver__ds18b20__match_8c.html">driver_ds18b20_match.c</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
